package com.feidee.data.report.dao;

import com.feidee.data.report.exception.DataDaoException;
import com.feidee.data.report.model.ReportConfiguration;
import com.feidee.data.report.model.ReportParam;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface IImpalaDao {
	public List<String> showTables(String dbName) throws DataDaoException;
	public List<Map<String, Object>> query(String sql) throws DataDaoException;
	public long count(String table,String ymd) throws DataDaoException;
	public long refresh(String table) throws DataDaoException;
	public void query(ReportConfiguration configuration, ReportParam rp) throws Exception;
}
